<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>弹性布局</title>
		<style>
			#div{
			    width: 400px;
			    height: 400px;
			    background-color: yellow;
			    display: flex;
			 }
			 #div div{
			     width: 100px;
			     height: 100px;
			     background-color: blue;
			     color: white;
			     font-size: 30px;
			}
		</style>
	</head>
	<body>
		<div id="div">
		    <div class="div1">1</div>
		    <div class="div2">2</div>
		    <div class="div3">3</div>
		    <div class="div4">4</div>
		</div>
	</body>
</html>
